Apparatus and method for controlling external device

ABSTRACT

Provided is a terminal for controlling an external device, not equipped with its own memory or controller, connected to the terminal. The portable terminal, when being connected to at least one external device, changes its setting with an extracted setting data matching the connected external device. Accordingly, the connected external device in a connection state to the portable terminal performs corresponding operations under control of the portable terminal.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a Continuation of U.S. patent application Ser. No. 13/214,567 filed on Aug. 22, 2011 which claims the benefit under 35 U.S.C. §119 of a Korean Patent Application filed in the Korean Intellectual Property Office on Aug. 20, 2010 and assigned Serial No. 10-2010-0080931, the entire disclosure of which is hereby incorporated by reference.

BACKGROUND

1. Field of the Invention

The present invention generally relates to an apparatus and method for controlling an external device, and more particularly, to an apparatus and method for controlling an external device in communication with a portable terminal.

2. Description of the Related Art

With the recent development of platforms for smart phones, infrastructure hardware (HW) and software (SW) techniques relating to smart phones have been developed rapidly.

Controllers for smart phones are now evolving to multicore. Various Operating Systems (Oss) such as Windows Mobile (WM), iPhone OS, Android, LiMo, etc., are also introduced in the current market.

Currently, when the smart phone is connected to an external device such as a TV or display for enhanced larger view, data of the smart phone is merely output to the external device.

SUMMARY

Accordingly, an aspect of the present invention is to provide an apparatus and method for controlling an external device in a portable terminal.

Another aspect of the present invention is to provide an apparatus and method for controlling an external device using a portable terminal, which serves to function as a controller and a memory for the connected external device.

Another aspect of the present invention is to provide an apparatus and method for controlling an external device via a portable terminal, thereby allowing users to easily use extended functions and services of the external device.

Another aspect of the present invention is to provide an apparatus and method for controlling an external device via a portable terminal, thereby making it easy to keep and update data.

According to an aspect of the present invention, an apparatus for controlling an external device via a portable terminal coupled to a plurality of external devices is provided. The portable terminal, when being connected to at least one external device, extracts setting data corresponding to the connected external device to control corresponding operation and overall functions of the connected external device via the portable terminal.

According to another aspect of the invention, a mobile terminal for controlling a plurality of external devices connected thereto includes: a memory, and a controller for controlling at least one external device connected to the terminal by detecting a type of the connected external device and extracting setting data corresponding to the detected external device type from the memory to control functions of the connected external device via the terminal, wherein the connected external device is not equipped with its own memory or controller.

According to another aspect of the present invention, a method for controlling an external device using a portable terminal includes: when at least one external device are connected to the portable terminal, determining types of the connected external device, and when recognized, extracting setting data corresponding to the external devices to control the connected external device.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other features and advantages of exemplary embodiments of the present invention will be more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which:

FIG. 1 is a block diagram of a portable terminal according to an exemplary embodiment of the present invention;

FIG. 2 is a flowchart illustrating an operation of controlling an external device in a portable terminal according to an exemplary embodiment of the present invention; and

FIG. 3A, FIG. 3B and FIG. 3C are diagrams for describing control of an external device in a portable terminal according to an exemplary embodiment of the present invention.

DETAILED DESCRIPTION

Hereinafter, an exemplary embodiment of the present invention will be described in detail with reference to the accompanying drawings. Throughout the drawings, like components will be indicated by like reference numerals.

FIG. 1 is a block diagram of a portable terminal according to an exemplary embodiment of the present invention.

Referring to FIG. 1, a Radio Frequency (RF) unit 123 performs a wireless communication function of the portable terminal. The RF unit 123 includes an RF transmitter for up-converting a frequency of a transmission signal and amplifying the transmitted signal, and an RF receiver for low-noise amplifying a received signal and down-converting the frequency of the received signal. A data processor 120 includes a transmitter for encoding and modulating the transmission signal, and a receiver for demodulating and decoding the received signal. The data processor 120 may include a modem and a codec. Herein, the codec includes a data codec for processing packet data and an audio codec for processing an audio signal such as voice. An audio processor 125 reproduces an audio signal being output from the audio codec of the data processor 120 or transmits an audio signal generated from a microphone to the audio codec of the data processor 120.

A key input unit 127 includes keys for inputting numeric and character information and function keys for setting various functions.

A memory 130 includes program and data memories. The program memory stores programs for controlling a general operation of the portable terminal and programs for changing an environment of the portable terminal corresponding to a type of a connected external device and then the controlling the external device using the portable terminal. The data memory temporarily also stores data generated during execution of the programs.

The memory 130 pre-stores setting data corresponding to the types of the external devices according to an embodiment of the present invention. Here, the setting data may include an Operating System (OS) and a User Interface (UI) of the connected external device as well as a function/software responsive to the external device. That is, the OS and the UI are setting data for an external output device connected to the portable terminal; the function is setting data for an external device connected to the portable terminal and is controlled by the connected external device, instead of through the key input unit 127 provided in the portable terminal. Here, the external device may be an external input device such as a key input device, an external output device such as a display device, or an external device which includes input/output devices without a controller and a memory such as a PC or a notebook which includes input/output devices without a controller and a memory.

The memory 130 may store data generated during control of the external device using the portable terminal according to an embodiment of the present invention.

A controller 110 controls overall operation of the portable terminal.

According to an embodiment of the present invention, when at least one external device is connected to the portable terminal, the controller 110 automatically recognizes the connected external device, determines a type of the external device, and configures by extracting the setting data that matches the connected external device from the memory 130 and controls the connected external device by using the extracted setting data.

That is, once an external input device and an external output device are connected to the portable terminal, the controller 110 extracts setting data for the connected external output device from the memory, i.e., the OS and the UI, then utilizes the extracted OS and UI to operate the connected external output device. Further, the controller 110 extracts the setting data for the connected external input device, i.e., the function, to control the connected external input device.

Accordingly, the controller 110 outputs the corresponding function executed through the input operation of on the connected external output device with the extracted OS and the UI.

According to an embodiment of the present invention, the controller 110 may also store data generated by controlling of the external device in the memory 130 after the portable terminal is adopted to operate with setting data of the connected external device.

A camera unit 140 captures an image, and may include a camera sensor for converting an optical signal of the captured image into an electrical signal, and a signal processor for converting an analog image signal of the image captured by the camera sensor into digital data. Herein, it is assumed that the camera sensor is a Charge Coupled Device (CCD) sensor or a Complementary Metal Oxide Semiconductor (CMOS) sensor, and the signal processor may be implemented as a Digital Signal Processor (DSP). In addition, the camera sensor and the signal processor may be implemented as one piece or separately.

An image processor 150 performs Image Signal Processing (ISP) to display an image signal output from the camera unit 140 on the display unit 160. The ISP executes functions such as gamma correction, interpolation, space conversion, image effect, image scale, Auto White Balance (AWB), Auto Exposure (AE) and Auto Focus (AF). Thus, the image processor 150 processes the image signal output from the camera unit 140 in the unit of a frame, and outputs frame image data adaptively to the features and size of the display unit 160. The image processor 150 includes an image codec, and compresses the frame image data displayed on the display unit 160 in a preset manner or restores the compressed frame image data to the original frame image data. Herein, the image codec may be Joint Picture Experts Group (JPEG) codec, Moving Picture Experts Group 4 (MPEG4) codec, or Wavelet codec. It is assumed that the image processor 150 has an on screen display (OSD) function. The image processor 150 may output OSD data according to the displayed picture size under the control of the controller 110.

The display unit 160 displays an image signal output from the image processor 150 on the screen and displays user data output from the controller 110. Herein, the display unit 160 may be a Liquid Crystal Display (LCD). The display unit 160 may include an LCD controller, a memory capable of storing image data, an LCD element, and so on. When the LCD is implemented with a touch screen, it may serve as an input unit. In this case, on the display unit 160, keys such as the key input unit 127 may be displayed.

In sum, when an external output device is connected to the portable terminal, the controller 110 of the terminal extracts setting data for the connected external output device, i.e., the OS and the UI, from the memory 130 and configures the portable terminal to operate the connected external device with the extracted OS and UI. Accordingly, the controller 110 can output a corresponding function executed through an input operation of the key input unit 127 of the terminal on the external output device. In addition, when the external input device is connected to the portable terminal, the controller 110 extracts the setting data for the connected input device from the memory 130. The controller 110 then outputs a corresponding function executed through an input operation of the external input device on a display unit 160 of the portable terminal.

With reference to FIG. 2, a description will now be made of an operation of controlling an external device in the portable terminal structured as described above.

FIG. 2 is a flowchart illustrating an operation of controlling an external device in the portable terminal according to an exemplary embodiment of the present invention.

Referring to FIGS. 1 and 2, once at least one external device is connected to the portable terminal, the controller 110 automatically recognizes connection of the external device in step 201, and determines a type of the connected external device in step 202. One skilled in the art can readily recognize how to determine the types of external devices connected to the portable terminal. For example, when the information on the types of external devices and corresponding voltage values is already stored in the portable terminal, it is possible to determine the type of an external device connected to the portable terminal based on the voltage that develops in the external device.

The portable terminal and the external device may be connected in a wired or wireless manner.

After the controller 110 determines the type of the external device connected to the portable terminal in step 202, the controller 110 extracts setting data corresponding to the connected external device from the memory 130 in step 203. Here, the information on the types of external devices and corresponding setting data is already pre-stored in the memory 130 of the portable terminal. Accordingly, when an external device is connected to the portable terminal the controller 110 extracts the setting data for the connected external device from the memory 130. The optimal setting data may include an Operating System (OS) and a User Interface (UI), or other function/software according to the type of the external device.

After the controller 110 extracts the setting data corresponding to the connected external device from the memory 130 in step 203, the controller 110 changes an environment of the portable terminal with the extracted setting data in order to directly control the external device in step 204. For example the information on External Terminal 1, External Terminal 2, OS1 corresponding to External Terminal 1 and OS2 corresponding to External Terminal 2 are already stored in the memory of the portable terminal. In this case, when External Terminal 1 is connected to the portable terminal, the controller of the terminal changes the current OS of the portable terminal to OS1. That is, the portable terminal has plural OSs and UIs, and depending on the type of an external terminal connected to the portable terminal, the controller can change the current OS to a corresponding OS matching the external device.

In step 204, the controller 110 changes the OS and the UI of, or the function of the portable terminal into the OS and the UI of, or the function corresponding to the connected external device.

Thus, in the environment of the portable terminal, which is changed with the setting data of the external device, the controller 110 controls the external device and stores data generated during an operation of the external device in step 205 in the memory.

When an external output device and an external input device are connected to the portable terminal, an OS and an UI corresponding the external output device and a function corresponding to the external input device are replaced in the terminal, such that the controller 110 can directly control the external output device to output a function in the terminal that corresponds to an input operation of the external input device in step 205. In step 205, the controller 110 may also store data generated by controlling of the external output device and the external input device in the memory 130.

Similarly, when the external output device is connected to the portable terminal, the controller 110 controls the external output device to output a function corresponding to an input operation of the key input unit 127 of the portable terminal in step 205. In step 205, the controller 110 may also store data generated by controlling of the external output device in the memory 130.

Furthermore, when the external input device is connected to the portable terminal, the controller 110 controls the display device 160 to output a function corresponding to an input operation of the external input device in step 205. In step 205, the controller 110 may also store data generated by controlling of the external input device in the memory 130.

FIGS. 3A through 3C are diagrams for describing control of an external device in the portable terminal according to an exemplary embodiment of the present invention to describe in more detail the process shown in FIG. 2.

In FIG. 3A, a portable terminal 100 is connected to an external device, i.e., notebook 200, which does not include a controller and a memory, but just includes input and output devices. In FIG. 3A, once the notebook 200 and the portable terminal 100 are connected with each other, the portable terminal 100 is updated with setting data (an OS, a UI, and a function) of the notebook 200.

The portable terminal 100 changed with the setting data of the notebook 200 can now function as a controller of the notebook 200 to control a display unit of the notebook 200 and to display a function corresponding to an input operation of a key input unit of the notebook 200. Once storage of data generated by controlling of the notebook 200 is selected, the portable terminal 100 stores the data in the memory 130, thus functioning as a memory of the notebook 200.

In FIG. 3B, the portable terminal 100 is connected with a display device 400 and a key input device 300 of a PC, which does not include a main body including a controller and a memory.

In FIG. 3B, once the display device 400 and the key input device 300 of the PC are connected with the portable terminal 100, the portable terminal 100 extracts pre-stored setting data (an OS, a UI, and a function) of the display device 400 and the key input device 300 of the PC.

Thereafter, the portable terminal 100 functions as a controller of the display device 400 and the key input device 300 of the PC, thus able to control the display device 400 of the PC to display a function corresponding to an input operation of the key input device 300 of the PC.

Further, the data generated by the display device during operation is stored in the memory 130, thus functioning as a memory of the display device 400 and the key input device 300 of the PC.

In FIG. 3C, the portable terminal 100 is connected with a display device 600 and a wireless key input device 500 of a TV.

In FIG. 3C, once the portable terminal 100 is connected with the display device 600 and the wireless key input device 500 of the TV, the setting data (an OS, a UI, and a function) for the display device 600 and the wireless key input device 500 of the TV are extracted.

The portable terminal 100, using the extracted data, functions as a controller for the display device 600 and the wireless key input device 500 of the TV, thus controlling the display device 600 display a function corresponding to an input operation of the wireless key input device 500.

Data generated by controlling of the display device 600 and the wireless key input device are stored in the memory 130. Thus, the memory 130 of the terminal serves as a memory for the display device 600 and the wireless key input device 500.

As can be seen from the foregoing description, by providing an apparatus and method for controlling an external device which is connected to a portable terminal, the terminal serves to control the external device by functioning as a controller and a memory for the connected device. As a result, external device having neither controller nor memory can be provided to users at low cost as an accessory because the portable terminal can take over the overall control of the respective external device. Further, users can easily use extended functions and services and easily keep and update data using the terminal.

In addition, the above-described methods according to the present invention can be realized in hardware or via the execution of software or computer code that can be stored in a non-transitory recording medium such as a CD ROM, a RAM, thumbnail drive, a floppy disk, a flash storage, a hard disk, or a magneto-optical disk or downloaded over a network and stored in storage, so that the methods described herein can be executed by such software using a general purpose computer, special computer, microprocessor, special processor, or in a programmable or dedicated hardware, such as an ASIC or FPGA. As would be understood in the art, the computer, the processor or the programmable hardware include memory components, e.g., RAM, ROM, Flash, etc. that may store or receive software or computer code that when accessed and executed by the computer, processor or hardware implement the processing methods described herein. In addition, it would be recognized that when a general purpose computer accesses code for implementing the processing shown herein, the execution of the code transforms the general purpose computer into a special purpose computer for executing the processing shown herein.

While a detailed embodiment such as a portable terminal has been described in the present invention, various changes may be made without departing from the scope of the present invention. Accordingly, the scope of the present invention should be defined by the claims and equivalents thereof, rather than the described embodiment. 

What is claimed is:
 1. A portable device comprising: a touch screen; and a controller configured to: detect a connection of an external output device, receive a first input through the touch screen, execute a first function corresponding to the first input, control the external output device to display data associated with the first function, detect a connection of a stand-alone computer keyboard, receive a second input from the stand-alone computer keyboard execute a second function corresponding to the second input, and control the external output device to display data associated with the second function.
 2. The portable device of claim 1, wherein the controller is further configured to determine a first user interface in response to detecting the connection of the external output device and control the external output device to display the data associated with the first function based on the first user interface.
 3. The portable device of claim 2, wherein the controller is further configured to determine first setting data in response to detecting the connection of the external output device and to determine the first user interface based on the first setting data.
 4. The portable device of claim 1, wherein the controller is further configured to change an environment of the portable device in response to detecting the connection of the stand-alone computer keyboard.
 5. The portable device of claim 4, wherein the controller is further configured to receive the second input in the changed environment.
 6. The portable device of claim 5, wherein the controller is further configured to determine second setting data in response to detecting the connection of the stand-alone computer keyboard and to change the environment of the portable terminal based on the second setting data, and wherein the second setting data is used for receiving the second input through the stand-alone computer keyboard.
 7. The portable device of claim 6, wherein the controller is further configured to determine the changed environment such that the controller is enable to receive the second input through the stand-alone computer keyboard.
 8. A portable device comprising: a touch screen; and a controller configured to: detect a connection of an external input device; change an environment of the portable terminal in response to detecting the connection of the external input device; receive a first input which is received through the external input device; control to display a first function corresponding to the first input on the touch screen in the changed environment.
 9. The portable device of claim 8, wherein the touch screen receives a second input while the external input device is not connected to the portable device, and wherein the controller is further configured to control to display a second function corresponding to the second input on the touch screen in an environment different from the changed environment.
 10. The portable device of claim 8, wherein the controller is further configured to determine a setting data corresponding to the external input device and to change the environment of the portable terminal based on the setting data, and wherein the setting data is used for receiving the first input through the external input device.
 11. The portable device of claim 8, wherein the controller is further configured to determine the changed environment such that the controller is enable to receive the first input through the external input device.
 12. The portable device of claim 8, wherein the external input device is a stand-alone computer keyboard.
 13. A method for controlling a portable device comprising: detecting a connection of an external output device, receiving a first input through the touch screen, executing a first function corresponding to the first input, controlling the external output device to display data associated with the first function, detecting a connection of a stand-alone computer keyboard, receiving a second input from the stand-alone computer keyboard executing a second function corresponding to the second input, and controlling the external output device to display data associated with the second function.
 14. The method of claim 13, wherein the controlling the external output device to display data associated with the first function comprises: determining a first user interface in response to detecting the connection of the external output device; and controlling the external output device to display the data associated with the first function based on the first user interface.
 15. The method of claim 14, wherein the determining the first user interface comprises: determining first setting data in response to detecting the connection of the external output device; and determining the first user interface based on the first setting data.
 16. The method of claim 13, further comprising: changing an environment of the portable device in response to detecting the connection of the stand-alone computer keyboard.
 17. The method of claim 16, further comprising: receiving the second input in the changed environment.
 18. The method of claim 17, wherein the changing an environment of the portable terminal comprises: determining second setting data in response to detecting the connection of the stand-alone computer keyboard; and changing the environment of the portable terminal based on the second setting data, wherein the second setting data is used for receiving the second input through the stand-alone computer keyboard.
 19. The method of claim 16, wherein the changing the environment of the portable device comprises determining the changed environment such that the controller is enable to receive the second input through the stand-alone computer keyboard.
 20. A method for controlling a portable device comprising: detecting a connection of an external input device; changing an environment of the portable terminal in response to detecting the connection of the external input device; receiving a first input which is received through the external input device; and controlling to display a first function corresponding to the first input on the touch screen in the changed environment.
 21. The method of claim 20, further comprising: receiving a second input while the external input device is not connected to the portable device; and controlling to display a second function corresponding to the second input on the touch screen in an environment different from the changed environment.
 22. The method of claim 20, wherein the changing the environment of the portable terminal comprises: determining a setting data corresponding to the external input device; and changing the environment of the portable terminal based on the setting data, wherein the setting data is used for receiving the first input through the external input device.
 23. The method of claim 20, wherein the changing the environment of the portable terminal comprises determining the changed environment such that the controller is enable to receive the first input through the external input device.
 24. The method of claim 20, wherein the external input device is a stand-alone computer keyboard.
 25. A non-transient computer readable medium containing program instructions for causing a computer to perform the method of claim
 13. 26. A non-transient computer readable medium containing program instructions for causing a computer to perform the method of claim
 20. 